package com.car.dal.object;

/**
 * Created by AoSnow on 2017/5/3.
 */

import com.car.annotation.DBField;
import com.car.annotation.DBTable;

/**
 * 采购申请流水信息
 */
@DBTable(tableName = "tg_good_account", defaultSort = "id", defaultDir = "desc")
public class TgGoodsAccount {
    public Long getFirstrownum() {
        return Firstrownum;
    }

    public void setFirstrownum(Long firstrownum) {
        Firstrownum = firstrownum;
    }

    public Long getPagesize() {
        return pagesize;
    }

    public void setPagesize(Long pagesize) {
        this.pagesize = pagesize;
    }

    @DBField(field = "id")
    private Long id;
    @DBField(field = "good_id")
    private Long good_id;
    @DBField(field = "info")
    private String info;
    @DBField(field = "username")
    private String username;
    @DBField(field = "type")
    private Integer type;//'大分类：1.固定资产 2.消耗品',
    @DBField(field = "good_name_id")
    private Long good_name_id;//小分类：1.电脑',
    @DBField(field = "center_name")
    private String center_name;//中心名称
    @DBField(field = "number")
    private Integer number;//中心名称

    public String getTg_goods_name() {
        return tg_goods_name;
    }

    public void setTg_goods_name(String tg_goods_name) {
        this.tg_goods_name = tg_goods_name;
    }

    @DBField(field = "msg")
    private String msg;
    @DBField(field = "tg_goods_name")
    private String tg_goods_name;

    public String getNotUsername() {
        return notUsername;
    }

    public void setNotUsername(String notUsername) {
        this.notUsername = notUsername;
    }

    @DBField(field = "item_name")

    private String item_name;
    @DBField(field = "company")
    private String company;
    private String notUsername;

    public Integer getApplied() {
        return applied;
    }

    public void setApplied(Integer applied) {
        this.applied = applied;
    }

    @DBField(field = "total_calculation")
    private Double total_calculation;

    public Integer getApplied2() {
        return applied2;
    }

    public void setApplied2(Integer applied2) {
        this.applied2 = applied2;
    }

    @DBField(field = "applied")

    private Integer applied;//1 申请，0导入';
    private Integer applied2;//1 申请，0导入';
    private Integer applied3;//1 申请，0导入';

    public Integer getApplied3() {
        return applied3;
    }

    public void setApplied3(Integer applied3) {
        this.applied3 = applied3;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getGood_name_id() {
        return good_name_id;
    }

    public void setGood_name_id(Long good_name_id) {
        this.good_name_id = good_name_id;
    }

    public String getCenter_name() {
        return center_name;
    }

    public void setCenter_name(String center_name) {
        this.center_name = center_name;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getItem_name() {
        return item_name;
    }

    public void setItem_name(String item_name) {
        this.item_name = item_name;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Double getTotal_calculation() {
        return total_calculation;
    }

    public void setTotal_calculation(Double total_calculation) {
        this.total_calculation = total_calculation;
    }

    public Double getUnit_price() {
        return unit_price;
    }

    public void setUnit_price(Double unit_price) {
        this.unit_price = unit_price;
    }

    public Integer getApply_status() {
        return apply_status;
    }

    public void setApply_status(Integer apply_status) {
        this.apply_status = apply_status;
    }

    public Integer getFail_apply_status() {
        return fail_apply_status;
    }

    public void setFail_apply_status(Integer fail_apply_status) {
        this.fail_apply_status = fail_apply_status;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    @DBField(field = "unit_price")
    private Double unit_price;
    @DBField(field = "apply_status")
    private Integer apply_status;
    @DBField(field = "fail_apply_status")
    private Integer fail_apply_status;//失败情况
    @DBField(field = "region")
    private String region;

    public String getRegions() {
        return regions;
    }

    public void setRegions(String regions) {
        this.regions = regions;
    }

    private String regions;


    private Long Firstrownum;
    private Long pagesize;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getGood_id() {
        return good_id;
    }

    public void setGood_id(Long good_id) {
        this.good_id = good_id;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
}
